package com.woniuxy.third.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: yangtao
 * @date 2021/7/14 10:44
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel
public class User {
    private int id;
    @ApiModelProperty(value = "account",required = true,dataType = "string")
    private String account;
    @ApiModelProperty(value = "pwd",required = true,dataType = "string")
    private String pwd;
    private BigDecimal balance;
    private String phone;
    private String email;
    private List<Role> roles;
}
